<?php
namespace app\servercertificate\model;

use \app\manage\model\BaseModel;

class Pickupgoods extends BaseModel
{
	protected $name = 'pick_up_goods';
    protected $connection = 'db_config_certificate';
    protected $dateFormat = 'Y-m-d H:i:s';

    public function getShipmentsTimeAttr($value, $data)
    {
        return date('Y-m-d H:i:s', $data['shipments_time']);
    }
    public function getPickUpTimeAttr($value, $data)
    {
        return date('Y-m-d H:i:s', $data['pick_up_time']);
    }
}